package com.xiaoq.sites.repository;

import com.xiaoq.sites.entity.InterDicEntity;

import java.util.List;

public interface IInterDicRepository {

	/**
	 *
	 * @param interDicEntity
	 * @return
	 */
	boolean save(InterDicEntity interDicEntity);

	/**
	 *
	 * @param interDicEntity
	 * @return
	 */
	boolean updateById(InterDicEntity interDicEntity);

	/**
	 * @param dicType 字典类型
	 * @param dicIdList  字典的key
	 * @return
	 */
	List<InterDicEntity> getAllInterDicList(Integer dicType, List<String> dicIdList);
}
